import {request} from "umi"
export let gettags = () => {
    return request("api/category",{articleStatus: "publish"})
}
export let getswiper=()=>{
    return request("api/article/all/recommend")
}

export let getArticlelist=()=>{
    return request("api/article")
}
export let getlabel=()=>{
    return request("api/tag")
}